package cn.picclife.mwx.manager.sys.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.picclife.mwx.common.core.dao.MyBatisRepositoryAnnotation;
import cn.picclife.mwx.manager.sys.model.bo.PageCount;
import cn.picclife.mwx.manager.sys.model.po.Branch;

@MyBatisRepositoryAnnotation
public interface BranchMapper {

	List<Branch> queryBranchPage(PageCount pageCount);

	int insertBranch(Branch branch);

	Branch queryBranch(@Param("id")String branchId);

	int updateBranch(Branch branch);

	int deleteBranch(@Param("id") String id);
	
	String querymaxBranchId(@Param("id") String id);
	
	Integer querymaxId();
	
	int queryBranchCount(PageCount pageCount);

    List<Branch> queryBranch1(Branch branch);
}
